/* import { usePermissionStore } from "@/store/modules/permission";
import { map } from "lodash-es";

const permissionDirective = {
  mounted(el, binding) {
    const permissionStore = usePermissionStore();
    let value = binding.value;
    if (!map(permissionStore.menus, "perms").includes(value)) {
      el.remove();
    }
  },
};

export const setupPermissionDirective = (app) => {
  app.directive("permission", permissionDirective);
};
 */